/**
* 头部菜单
*/
<template>
  <div style="width: 100%; text-align: right">
    <el-avatar style="margin-right: 50px">
      {{ oauth2.getAuthData("nickName") }}
    </el-avatar>
    <el-button
      style="position: absolute; right: 3px; top: 5px"
      @click="oauth2.logout()"
      type="danger"
      icon="el-icon-switch-button
"
      plain
      size="mini"
    ></el-button>
  </div>
</template>

<script>
export default {
  name: "navcon",
  data() {
    return {
      collapsed: true,
      imgshow: require("../assets/img/show.png"),
      imgsq: require("../assets/img/sq.png"),
      user: {},
    };
  },
  created() {},
  methods: {},
};
</script>